﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonTagTime.ModelObject
{
    public class Product
    {
        //------------------------------------------------
        //VARIABLE
        //------------------------------------------------
        private int _TotalRecords;
        private int _CurrentPage;
        private int _CategoryID;
        private int _PageSize;
        private string _OrderBy;
        private string _OrderDirection;
        private string _Condition; 
        private int _ProductID;
        private string _SKU;
        private string _Name;
        private bool _IsActive;
        private float _WasPrice;
        private float _NowPrice;
        private bool _IsNew;
        private string _Site;
        private string _Video;       
        private int _ZoneId;
        private int _NoteId;
        private int _Status;
        private string _ShortDescription;
        private string _Description;
        private string _PageTitle;
        private string _MetaDescription;
        private string _MetaKeywords;
        private string _CreatedBy;
        private string _NoteContent;
        private DateTime _CreatedDate;
        private string _UpdatedBy;
        private DateTime _UpdatedDate;
        private int _SortOrder;
        private int _RelatedItemCount;
        private int _MSDSCount;
        private string _Size;
        private string _Color;
        private string _Material;
        private string _MadeIn; 
        //------------------------------------------------
        //PROPERTY
        //------------------------------------------------
        public int ProductID
        {
            get { return _ProductID; }
            set { _ProductID = value; }
        }
        public int MSDSCount
        {
            get { return _MSDSCount; }
            set { _MSDSCount = value; }
        }
        public string SKU
        {
            get { return _SKU; }
            set { _SKU = value; }
        }
        public Boolean IsActive
        {
            get { return _IsActive; }
            set { _IsActive = value; }
        }
        public float WasPrice
        {
            get { return _WasPrice; }
            set { _WasPrice = value; }
        }
        public float NowPrice
        {
            get { return _NowPrice; }
            set { _NowPrice = value; }
        }
        public Boolean IsNew
        {
            get { return _IsNew; }
            set { _IsNew = value; }
        }
        public string Color
        {
            get { return _Color; }
            set { _Color = value; }
        }
        public string Material
        {
            get { return _Material; }
            set { _Material = value; }
        }
        public string MadeIn
        {
            get { return _MadeIn; }
            set { _MadeIn = value; }
        }
        public string Size
        {
            get { return _Size; }
            set { _Size = value; }
        }
        public string Site
        {
            get { return _Site; }
            set { _Site = value; }
        }
        public string Video
        {
            get { return _Video; }
            set { _Video = value; }
        }
        public int ZoneId
        {
            get { return _ZoneId; }
            set { _ZoneId = value; }
        }
        public int Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        public int NoteId
        {
            get { return _NoteId; }
            set { _NoteId = value; }
        }
        public string ShortDescription
        {
            get { return _ShortDescription; }
            set { _ShortDescription = value; }
        }
        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        public int TotalRecords
        {
            get { return _TotalRecords; }
            set { _TotalRecords = value; }
        }

        public string OrderBy
        {
            get { return _OrderBy; }
            set { _OrderBy = value; }
        }

        public string OrderDirection
        {
            get { return _OrderDirection; }
            set { _OrderDirection = value; }
        }
        public string Condition
        {
            get { return _Condition; }
            set { _Condition = value; }
        }
        public int CurrentPage
        {
            get { return _CurrentPage; }
            set { _CurrentPage = value; }
        }

        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }
       
        public string CreatedBy
        {
            get { return _CreatedBy; }
            set { _CreatedBy = value; }
        }
        public string NoteContent
        {
            get { return _NoteContent; }
            set { _NoteContent = value; }
        }
        public DateTime CreatedDate
        {
            get { return _CreatedDate; }
            set { _CreatedDate = value; }
        }
        public string UpdatedBy
        {
            get { return _UpdatedBy; }
            set { _UpdatedBy = value; }
        }
       
        public DateTime UpdatedDate
        {
            get { return _UpdatedDate; }
            set { _UpdatedDate = value; }
        }
        public int RelatedItemCount
        {
            get { return _RelatedItemCount; }
            set { _RelatedItemCount = value; }
        }
        public int SortOrder
        {
            get { return _SortOrder; }
            set { _SortOrder = value; }
        }
        public int CategoryID
        {
            get { return _CategoryID; }
            set { _CategoryID = value; }
        }
        public string MetaDescription
        {
            get { return _MetaDescription; }
            set { _MetaDescription = value; }
        }
        public string MetaKeywords
        {
            get { return _MetaKeywords; }
            set { _MetaKeywords = value; }
        }
        public string PageTitle
        {
            get { return _PageTitle; }
            set { _PageTitle = value; }
        }
        public Product()
        {
            _CategoryID = 0;
            _CurrentPage = 0;
            _PageSize = 0;
            _TotalRecords = 0;
            _Name = string.Empty;
            _ProductID = int.MinValue;           
            _Video = string.Empty;
            _WasPrice = float.MinValue;
            _NowPrice = float.MinValue;
            _CreatedBy = string.Empty;
            _CreatedDate = DateTime.MinValue;
            _ZoneId = int.MinValue;
            _NoteId = int.MinValue;  
            _Site = string.Empty;
            _SKU = string.Empty;
            _SortOrder = int.MinValue;
            _RelatedItemCount = 0;
            _MSDSCount = 0;
            _PageTitle = string.Empty;
            _MetaKeywords = string.Empty;
            _MetaDescription = string.Empty;
            _Size = string.Empty;
            _Color = string.Empty;
            _Material = string.Empty;
            _MadeIn = string.Empty;
        }
    }

    public class ProductCollection : List<Product>
    { }
}
